package com.tcredit.spider.web.controller;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.tcredit.spider.web.service.UserService;

@RestController
public class HelloController {

	protected final Logger logger = LogManager.getLogger(HelloController.class);

	@Autowired
	private UserService userService;
	
	@RequestMapping("/")
	public String index() {
		logger.info("/ -> 整合mysql");
		return "整合mysql";
	}
	
}
